package com.qf.api;


import com.qf.pojo.reqVo.UserReq;
import com.qf.pojo.respVo.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "userService")
public interface UserInfoApi {

    @RequestMapping(value = "/user/getUserName",method = RequestMethod.GET)
    public BaseResp getUserName(@RequestBody UserReq userReq);
}
